//
//  ECFormatHelper.h
//  Edu_iOS
//
//  Created by yanyan on 2017/9/29.
//  Copyright © 2017年 yanyan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ECFormatHelper : NSObject
+(NSAttributedString *)attributedStringForPromotionPrice:(NSString *) price decimal:(NSInteger) decimal smallFontSize:(CGFloat)size;

// 显示当前促销价格，传递一个价格数值的字符串，保留的位数
+(NSAttributedString *)attributedStringForPromotionPrice:(NSString *) price decimal:(NSInteger) decimal;
+(NSAttributedString *)attributedStringForOrginPrice:(NSString *) price decimal:(NSInteger) decimal;

@end
